package top.asteam.entity;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @Author Rock Wang
 * @Time 2021/3/14
 */
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(value = JsonInclude.Include.NON_NULL)
public class Payment implements Serializable {

    private Long id;
    @NotBlank
    private String serial;
    @NotBlank
    private String name;

}
